package com.guangzi.mapper;


import com.guangzi.common.Pager;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


@Mapper
public interface LoginLogDao extends BaseDao {

    long getByName(@Param("name") String name);

    String getByloginTime(@Param("name") String name);

    void updateByUserId(Long userId);

    @Override
    List <Object> listPagerCriteria(@Param("pager") Pager pager, @Param("query") Object obj);

    @Override
    Long countCriteria(@Param("query") Object obj);
}
